package cn.szzsi.programmer.controller;


import cn.szzsi.programmer.interceptor.ProgrammerInterceptor;
import com.jfinal.config.Routes;

/**
 * Created by admin on 2017/7/17.
 */
public class ProgrammerRoutes extends Routes{
    @Override
    public void config() {
        addInterceptor(new ProgrammerInterceptor());
        add("/programmer",AdminController.class);
        add("/programmer/resource", ResourceController.class);
        add("/programmer/wechatconfig",WeChatConfigController.class);
    }
}
